Location sharing

ABSTRACT

Geographic location data is sent from a first device to a second device with a modified message to signal the presence of geographic location data associated with the message. The message can include (or attach) the geographic location data or file, or the message can include a link to a network-based resource which the second device can use to obtain the geographic location data. In some implementations, when a user of the first device views a location on a map display of the first device, a graphical user interface is presented to allow the user to select an option to share the geographic location with the second device. The second device receives geographic location data or a link from the first device which can trigger a map display on the second device showing the location of the first device and, optionally, the location of the second device.

CROSS REFERENCE TO RELATED APPLICATIONS

This Application is a divisional of U.S. patent application Ser. No. 12/165,413 entitled “Location Sharing” filed Jun. 30, 2008, which is incorporated by reference in its entirety herein.

BACKGROUND

This subject matter is generally related to data communications between electronic devices.

Conventional mobile devices are often dedicated to performing a specific application. For example, a mobile phone provides telephony services, a personal digital assistant (PDA) provides a way to organize addresses, contacts, and notes, a media player plays content, email devices provide email communication, a browser allows a user to surf the Internet, etc. Modern mobile devices can include two or more of these applications.

Some mobile devices (e.g., the iPhone®) include a short message service (SMS) for sending instant messages to one or more receiving devices. Some mobile devices also provide a map service which can use positioning technology to determine a user's geographic location and display an icon on a map display to show the user's current location. The map service may also allow the user to obtain directions to a desired destination and display a route to the destination on the map display.

SUMMARY

A geographic location of a first device is determined. Input is obtained specifying sharing of the geographic location with a second device. Geographic location data is sent from a first device to a second device with a modified message to signal the presence of geographic location data associated with the message. The message can include (or attach) the geographic location data or file, or the message can include a link to a network-based resource which the second device can use to obtain the geographic location data. In some implementations, when a user of the first device views a location on a map display of the first device, a graphical user interface is presented to allow the user to select an option to share the geographic location with the second device. The second device receives geographic location data or a link from the first device which can trigger a map display on the second device showing the location of the first device and, optionally, the location of the second device. A route from the first device to the second device can be generated and displayed on the map display of the first or second device.

Other implementations are disclosed which are directed to systems, methods and computer-readable mediums. For example, in some implementations contact information can be encoded in a text message and sent to a device where it can_be displayed and added to an address book application.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an example mobile device.

FIG. 2 is a block diagram of an example network operating environment for the mobile device of FIG. 1.

FIG. 3 is a block diagram of an example architecture for the mobile device of FIG. 1.

FIG. 4 illustrates an example positioning system which can be used with the mobile device of FIG. 1.

FIG. 5 illustrates an example map display showing the location of a mobile device.

FIG. 6 illustrates an example user interface for sharing the location of the mobile device with other devices.

FIG. 7A illustrates an example user interface for instant messaging or SMS/text messaging used by a sending device.

FIG. 7B illustrates an example user interface for instant messaging or SMS/text messaging used by a receiving device.

FIG. 8 illustrates an example map display showing locations for a sending and receiving device.

FIG. 9 is a flow diagram of an example process for sharing location data which can be implemented by a sending device.

FIG. 10 is a flow diagram of an example process for sharing location data which can be implemented by a receiving device.

DETAILED DESCRIPTION

Example Mobile Device

FIG. 1 is a block diagram of an example mobile device 100. The mobile device 100 can be, for example, a handheld computer, a personal digital assistant, a cellular telephone, a network appliance, a camera, a smart phone, an enhanced general packet radio service (EGPRS) mobile phone, a network base station, a media player, a navigation device, an email device, a game console, or a combination of any two or more of these data processing devices or other data processing devices.

Mobile Device Overview

In some implementations, the mobile device 100 includes a touch-sensitive display 102. The touch-sensitive display 102 can implement liquid crystal display (LCD) technology, light emitting polymer display (LPD) technology, or some other display technology. The touch sensitive display 102 can be sensitive to haptic and/or tactile contact with a user.

In some implementations, the touch-sensitive display 102 can comprise a multi-touch-sensitive display 102. A multi-touch-sensitive display 102 can, for example, process multiple simultaneous touch points, including processing data related to the pressure, degree, and/or position of each touch point. Such processing facilitates gestures and interactions with multiple fingers, chording, and other interactions. Other touch-sensitive display technologies can also be used, e.g., a display in which contact is made using a stylus or other pointing device. Some examples of multi-touch-sensitive display technology are described in U.S. Pat. Nos. 6,323,846, 6,570,557, 6,677,932, and 6,888,536, each of which is incorporated by reference herein in its entirety.

In some implementations, the mobile device 100 can display one or more graphical user interfaces on the touch-sensitive display 102 for providing the user access to various system objects and for conveying information to the user. In some implementations, the graphical user interface can include one or more display objects 104, 106. In the example shown, the display objects 104, 106, are graphic representations of system objects. Some examples of system objects include device functions, applications, windows, files, alerts, events, or other identifiable system objects.

Example Mobile Device Functionality

In some implementations, the mobile device 100 can implement multiple device functionalities, such as a telephony device, an e-mail device, a network data communication device, a Wi-Fi base station device (not shown), and a media processing device. In some implementations, particular display objects 104 can be displayed in a menu bar 118. In some implementations, device functionalities can be accessed from a top-level graphical user interface, such as the graphical user interface illustrated in FIG. 1. Touching one of the display objects 104 can, for example, invoke corresponding functionality. For example, touching the display object 189 would invoke an email application on the mobile device 100 for sending text and geographic location data files, as described in reference to FIG. 6.

In some implementations, the mobile device 100 can implement network distribution functionality. For example, the functionality can enable the user to take the mobile device 100 and provide access to its associated network while traveling. In particular, the mobile device 100 can extend Internet access (e.g., Wi-Fi) to other wireless devices in the vicinity. For example, mobile device 100 can be configured as a base station for one or more devices. As such, mobile device 100 can grant or deny network access to other wireless devices.

In some implementations, upon invocation of device functionality, the graphical user interface of the mobile device 100 changes, or is augmented or replaced with another user interface or user interface elements, to facilitate user access to particular functions associated with the corresponding device functionality. For example, in response to a user touching a phone object, the graphical user interface of the touch-sensitive display 102 may present display objects related to various phone functions; likewise, touching of an email object may cause the graphical user interface to present display objects related to various e-mail functions; touching a Web object may cause the graphical user interface to present display objects related to various Web-surfing functions; and touching a media player object may cause the graphical user interface to present display objects related to various media processing functions.

In some implementations, the top-level graphical user interface environment or state of FIG. 1 can be restored by pressing a button 120 located near the bottom of the mobile device 100. In some implementations, each corresponding device functionality may have corresponding “home” display objects displayed on the touch-sensitive display 102, and the top-level graphical user interface environment of FIG. 1 can be restored by pressing the “home” display object.

In some implementations, the top-level graphical user interface can include additional display objects 106, such as a short messaging service (SMS) object 187, a calendar object, a photos object, a camera object, a calculator object, a stocks object, a weather object, a maps object 144, a notes object, a clock object, an address book object, and a settings object. Touching the maps object 144 can, for example, invoke a mapping and location-based services environment and supporting functionality; likewise, a selection of any of the display objects 106 can invoke a corresponding object environment and functionality.

Additional and/or different display objects can also be displayed in the graphical user interface of FIG. 1. For example, if the device 100 is functioning as a base station for other devices, one or more “connection” objects may appear in the graphical user interface to indicate the connection. In some implementations, the display objects 106 can be configured by a user, e.g., a user may specify which display objects 106 are displayed, and/or may download additional applications or other software that provides other functionalities and corresponding display objects.

In some implementations, the mobile device 100 can include one or more input/output (I/O) devices and/or sensor devices. For example, a speaker 160 and a microphone 162 can be included to facilitate voice-enabled functionalities, such as phone and voice mail functions. In some implementations, an up/down button 184 for volume control of the speaker 160 and the microphone 162 can be included. The mobile device 100 can also include an on/off button 182 for a ring indicator of incoming phone calls. In some implementations, a loud speaker 164 can be included to facilitate hands-free voice functionalities, such as speaker phone functions. An audio jack 166 can also be included for use of headphones and/or a microphone.

In some implementations, a proximity sensor 168 can be included to facilitate the detection of the user positioning the mobile device 100 proximate to the user's ear and, in response, to disengage the touch-sensitive display 102 to prevent accidental function invocations. In some implementations, the touch-sensitive display 102 can be turned off to conserve additional power when the mobile device 100 is proximate to the user's ear.

Other sensors can also be used. For example, in some implementations, an ambient light sensor 170 can be utilized to facilitate adjusting the brightness of the touch-sensitive display 102. In some implementations, an accelerometer 172 can be utilized to detect movement of the mobile device 100, as indicated by the directional arrow 174. Accordingly, display objects and/or media can be presented according to a detected orientation, e.g., portrait or landscape. In some implementations, the mobile device 100 may include circuitry and sensors for supporting a location determining capability, such as that provided by the Global Positioning System (GPS) or other positioning systems (e.g., systems using Wi-Fi access points, television signals, cellular grids, Uniform Resource Locators (URLs)). In some implementations, a positioning system (e.g., a GPS receiver) can be integrated into the mobile device 100 or provided as a separate device that can be coupled to the mobile device 100 through an interface (e.g., port device 190) to provide access to location-based services.

In some implementations, a port device 190, e.g., a Universal Serial Bus (USB) port, or a docking port, or some other wired port connection, can be included. The port device 190 can, for example, be utilized to establish a wired connection to other computing devices, such as other communication devices 100, network access devices, a personal computer, a printer, a display screen, or other processing devices capable of receiving and/or transmitting data. In some implementations, the port device 190 allows the mobile device 100 to synchronize with a host device using one or more protocols, such as, for example, the TCP/IP, HTTP, UDP, and any other known protocol.

The mobile device 100 can also include a camera lens and sensor 180. In some implementations, the camera lens and sensor 180 can be located on the back surface of the mobile device 100. The camera can capture still images and/or video.

The mobile device 100 can also include one or more wireless communication subsystems, such as an 802.11b/g communication device 186, and/or a Bluetooth™ communication device 188. Other communication protocols can also be supported, including other 802.x communication protocols (e.g., WiMax, Wi-Fi, 3G), code division multiple access (CDMA), global system for mobile communications (GSM), Enhanced Data GSM Environment (EDGE), etc.

Network Operating Environment

FIG. 2 is a block diagram of an example network operating environment for the mobile device of FIG. 1. Mobile devices 202 a and 202 b can, for example, communicate over one or more wired and/or wireless networks 210 in data communication. For example, a wireless network 212, e.g., a cellular network, can communicate with a wide area network (WAN) 214, such as the Internet, by use of a gateway 216. Likewise, an access device 218, such as an 802.11g wireless access device, can provide communication access to the wide area network 214. In some implementations, both voice and data communications can be established over the wireless network 212 and the access device 218. For example, the mobile device 202 a can place and receive phone calls (e.g., using VoIP protocols), send and receive e-mail messages (e.g., using POP3 protocol), and retrieve electronic documents and/or streams, such as web pages, photographs, and videos, over the wireless network 212, gateway 216, and wide area network 214 (e.g., using TCP/IP or UDP protocols). Likewise, in some implementations, the mobile device 202 b can place and receive phone calls, send and receive e-mail messages, and retrieve electronic documents over the access device 218 and the wide area network 214. In some implementations, the mobile device 202 a or 202 b can be physically connected to the access device 218 using one or more cables and the access device 218 can be a personal computer. In this configuration, the mobile device 202 a or 202 b can be referred to as a “tethered” device.

The mobile devices 202 a and 202 b can also establish communications by other means. For example, the wireless device 202 a can communicate with other wireless devices, e.g., other mobile devices 202 a or 202 b, cell phones, etc., over the wireless network 212. Likewise, the mobile devices 202 a and 202 b can establish peer-to-peer communications 220, e.g., a personal area network, by use of one or more communication subsystems, such as the Bluetooth™ communication devices 188 shown in FIG. 1. Other communication protocols and topologies can also be implemented.

The mobile device 202 a or 202 b can, for example, communicate with one or more services 230, 240, 250, 260, and 270 over the one or more wired and/or wireless networks 210. For example, one or more navigation services 230 can provide navigation information, e.g., map information, location information, route information, and other information, to the mobile device 202 a or 202 b. A user of the mobile device 202 b can invoke a map functionality, e.g., by pressing the maps object 144 on the top-level graphical user interface shown in FIG. 1, and can request and receive a map for a particular location, request and receive route directions, or request and receive listings of businesses in the vicinity of a particular location, for example.

A messaging service 240 can, for example, provide e-mail and/or other messaging services. A media service 250 can, for example, provide access to media files, such as song files, audio books, movie files, video clips, and other media data. In some implementations, separate audio and video services (not shown) can provide access to the respective types of media files. A syncing service 260 can, for example, perform syncing services (e.g., sync files). An activation service 270 can, for example, perform an activation process for activating the mobile device 202 a or 202 b. Other services can also be provided, including a software update service that automatically determines whether software updates exist for software on the mobile device 202 a or 202 b, then downloads the software updates to the mobile device 202 a or 202 b where the software updates can be manually or automatically unpacked and/or installed.

The mobile device 202 a or 202 b can also access other data and content over the one or more wired and/or wireless networks 210. For example, content publishers, such as news sites, RSS feeds, web sites, blogs, social networking sites, developer networks, etc., can be accessed by the mobile device 202 a or 202 b. Such access can be provided by invocation of a web browsing function or application (e.g., a browser) in response to a user touching, for example, a Web object.

Example Mobile Device Architecture

FIG. 3 is a block diagram of an example architecture for the mobile device of FIG. 1. The mobile device 100 can include a memory interface 302, one or more data processors, image processors and/or central processing units 304, and a peripherals interface 306. The memory interface 302, the one or more processors 304 and/or the peripherals interface 306 can be separate components or can be integrated in one or more integrated circuits. The various components in the mobile device 100 can be coupled by one or more communication buses or signal lines.

Sensors, devices, and subsystems can be coupled to the peripherals interface 306 to facilitate multiple functionalities. For example, a motion sensor 310, a light sensor 312, and a proximity sensor 314 can be coupled to the peripherals interface 306 to facilitate the orientation, lighting, and proximity functions described with respect to FIG. 1. Other sensors 316 can also be connected to the peripherals interface 306, such as a positioning system (e.g., GPS receiver), a temperature sensor, a biometric sensor, or other sensing device, to facilitate related functionalities.

A camera subsystem 320 and an optical sensor 322, e.g., a charged coupled device (CCD) or a complementary metal-oxide semiconductor (CMOS) optical sensor, can be utilized to facilitate camera functions, such as recording photographs and video clips.

Communication functions can be facilitated through one or more wireless communication subsystems 324, which can include radio frequency receivers and transmitters and/or optical (e.g., infrared) receivers and transmitters. The specific design and implementation of the communication subsystem 324 can depend on the communication network(s) over which the mobile device 100 is intended to operate. For example, a mobile device 100 may include communication subsystems 324 designed to operate over a GSM network, a GPRS network, an EDGE network, a Wi-Fi or WiMax network, and a Bluetooth™ network. In particular, the wireless communication subsystems 324 may include hosting protocols such that the device 100 may be configured as a base station for other wireless devices.

An audio subsystem 326 can be coupled to a speaker 328 and a microphone 330 to facilitate voice-enabled functions, such as voice recognition, voice replication, digital recording, and telephony functions.

The I/O subsystem 340 can include a touch screen controller 342 and/or other input controller(s) 344. The touch-screen controller 342 can be coupled to a touch screen 346. The touch screen 346 and touch screen controller 342 can, for example, detect contact and movement or break thereof using any of a plurality of touch sensitivity technologies, including but not limited to capacitive, resistive, infrared, and surface acoustic wave technologies, as well as other proximity sensor arrays or other elements for determining one or more points of contact with the touch screen 346.

The other input controller(s) 344 can be coupled to other input/control devices 348, such as one or more buttons, rocker switches, thumb-wheel, infrared port, USB port, and/or a pointer device such as a stylus. The one or more buttons (not shown) can include an up/down button for volume control of the speaker 328 and/or the microphone 330.

In one implementation, a pressing of the button for a first duration may disengage a lock of the touch screen 346; and a pressing of the button for a second duration that is longer than the first duration may turn power to the mobile device 100 on or off. The user may be able to customize a functionality of one or more of the buttons. The touch screen 346 can, for example, also be used to implement virtual or soft buttons and/or a keyboard.

In some implementations, the mobile device 100 can present recorded audio and/or video files, such as MP3, MC, and MPEG files. In some implementations, the mobile device 100 can include the functionality of an MP3 player, such as an iPod™. The mobile device 100 may, therefore, include a 36-pin connector that is compatible with the iPod. Other input/output and control devices can also be used.

The memory interface 302 can be coupled to memory 350. The memory 350 can include high-speed random access memory and/or non-volatile memory, such as one or more magnetic disk storage devices, one or more optical storage devices, and/or flash memory (e.g., NAND, NOR). The memory 350 can store an operating system 352, such as Darwin, RTXC, LINUX, UNIX, OS X, WINDOWS, or an embedded operating system such as VxWorks. The operating system 352 may include instructions for handling basic system services and for performing hardware dependent tasks. In some implementations, the operating system 352 can be a kernel (e.g., UNIX kernel).

The memory 350 may also store communication instructions 354 to facilitate communicating with one or more additional devices, one or more computers and/or one or more servers. The memory 350 may include graphical user interface instructions 356 to facilitate graphic user interface processing; sensor processing instructions 358 to facilitate sensor-related processing and functions; phone instructions 360 to facilitate phone-related processes and functions; electronic messaging instructions 362 to facilitate electronic-messaging related processes and functions; web browsing instructions 364 to facilitate web browsing-related processes and functions; media processing instructions 366 to facilitate media processing-related processes and functions; GPS/Navigation instructions 368 to facilitate GPS and navigation-related processes and instructions; camera instructions 370 to facilitate camera-related processes and functions; and/or other software instructions 372 to facilitate other processes and functions, e.g., security processes and functions. The memory 350 may also store other software instructions (not shown), such as web video instructions to facilitate web video-related processes and functions; and/or web shopping instructions to facilitate web shopping-related processes and functions. In some implementations, the media processing instructions 366 are divided into audio processing instructions and video processing instructions to facilitate audio processing-related processes and functions and video processing-related processes and functions, respectively. An activation record and International Mobile Equipment Identity (IMEI) 374 or similar hardware identifier can also be stored in memory 350.

Each of the above identified instructions and applications can correspond to a set of instructions for performing one or more functions described above. These instructions need not be implemented as separate software programs, procedures, or modules. The memory 350 can include additional instructions or fewer instructions. Furthermore, various functions of the mobile device 100 may be implemented in hardware and/or in software, including in one or more signal processing and/or application specific integrated circuits.

Example Positioning System

FIG. 4 illustrates an example positioning system which can be used with the mobile device of FIG. 1. In FIG. 4, mobile device 402 can represent mobile device 100. The mobile device 402 can, for example, communicate to one or more network access points 404 (e.g., Wi-Fi base station devices) or one or more cell towers 406. In some implementations, the access points 404 can be any combination of 802.11b/g wireless routers, 802.11n wireless routers, and some other Wi-Fi devices that implement any suitable Wi-Fi or other wireless networking technology or protocol (e.g., GPS protocol). Using the communication with the access points 404 or the cell towers 406, a location-based service 408 (Location-Based Service A) or a location-based service 410 (Location-Based Service B) can estimate geographic areas where the mobile device 402 is currently located. The actual location of the mobile device 402 can be anywhere within the estimated geographic area. An estimated geographic area is not necessarily circular but can be indicated as a circular area on a map display for convenience.

The mobile device 402 can, for example, receive a communication 412A from an access point 404 (e.g., a Wi-Fi access point). The communication 412A can include information about the access point 404, e.g., the Internet Protocol (IP) address and/or the Media Access Control (MAC) address of the access point 404. The communication 412A can include other information, such as the latitude and longitude of the access point 404. The information received in communication 412A can be sent to the location-based service 408 in communication 412B. The location-based service 408 can, for example, with a degree of uncertainty or error, estimate a first geographic area in which the mobile device 402 is currently located using the information sent in communication 412B. In some implementations, the location-based service 408 is a system or service that estimates, with some degree of uncertainty or error, the position of a device using a database of access points mapped to geographic locations. The accuracy or precision (or the degree of uncertainty or error) of the estimated position can, for example, be based on the range of the technology, the accuracy of the range, or some other metric. Accuracy or precision of an estimated position can be affected by one or more factors including, for example, inherent properties or limitations of the technology or system, and a level of deployment of the given technology or system (e.g., number of access points or cell towers in the vicinity of the device).

In some implementations, the accuracy or precision of the estimated position is stated in units of distance (e.g., “the estimated position is accurate up to 50 meters”). That is, the actual position of the mobile device 402 can be within the accuracy distance from the estimated position. For example, the first geographic area can be a circle centered at the latitude and longitude of the estimated position with a radius equal to the stated accuracy or precision (e.g. 38 meters if the accuracy of the estimated position is up to 38 meters). The first geographic area can alternatively be represented on a map display as a square, rectangle, oval, diamond, triangle, or some other shaped enclosed region.

In some other implementations, unique signatures of multiple access points (e.g. five or more) can be compared to a local cache on the mobile device 402 or a central reference database at location-based service 408 via network communication (e.g. communication 412B can be sent to the location-based service 408). The location-based service 408 can use the unique signatures to estimate the latitude and longitude of the center of the first geographic circle with an m meter radius (e.g., about 20 meters).

In some implementations, location-based service 408 includes positioning services and reference database information provided by SKYHOOK WIRELESS of Boston, Mass.

The mobile device 402 can receive a communication 414A from cell tower 406. The cell communication 414A can include, for example, information identifying the cell tower 406. In some implementations, the cell communication 414A can also include the latitude and longitude of the cell tower 406. The identifying information and/or the latitude and longitude of the cell tower 406 can be sent to the location-based service 410 in communication 414B. The location-based service 410 can estimate a position of the mobile device 402 using the information included in communication 414B and estimate an accuracy of the estimate position. Thus, for example, the location-based service 410 can estimate a second geographic area in which the mobile device 402 is currently located. In some implementations, the second geographic area is represented on a map as a circular region centered at the estimated position and with a radius equal to the accuracy of the estimated position. In some other implementations, the second geographic area can represented on a map by a square or rectangular shaped enclosed region, to name a few additional examples.

In some implementations, the position and the geographic area of the mobile device 402 can be estimated using a “cell of origin” positioning technology. In some other implementations, the second geographic area can be determined by cell tower triangulation.

The first and second geographic areas can be sent to the mobile device 402 by communications 416 and 418, respectively. The mobile device 402 can present, on the touch-sensitive display 102 for example, a map view including an indication of one of the geographic areas if that one is entirely contained within the other geographic area (including the case where the boundaries of the geographic areas touch but otherwise no part of the one of the geographic area is outside of the other geographic area). For example, a map view that includes an indication of the first geographic area can be presented if the first geographic area is completely contained within the second geographic area. The mobile device 402 can present a map view that includes an indication of the second geographic area if the first geographic area is not completely contained within the second geographic area. For example, if the technology, system, or service used to estimate the first geographic area has a greater level of accuracy or precision detail than the technology, system, or service used to estimate the second geographic area, and the first geographic area is determined to be more accurate or precise based on the first geographic area being entirely within the second geographic area, the mobile device 402 can use the first geographic area. The level of detail of the technology can, for example, be determined by a priority table stored in the mobile device 402.

In another example, the first geographic area can be estimated using the access point 404, and the second geographic area can be estimated using the cell tower 406. In this example, the access point 404 was moved from its original location and the latitude and longitude coordinates of the access point 404 as they are known to location-based service 408 are incorrect and the mobile device 402 is not actually located within the first geographic area. The cell tower 406 provided correct location-based data and the mobile device 402 is located within the second geographic area. In this situation, the first and second geographic areas do not overlap, so the mobile device 402 would display a map view indicating the second geographic area. The mobile device 402 can be used to determine the accuracy of the first and second geographic areas, or an external server or servers can be used.

The location-based service 408 and location-based service 410 can run on the same device or on separate devices. For example, the location-based services 408 and 410 can run on servers communicating with the mobile device 100 through a network (e.g., WAN 214). The servers can be separate servers or the same server. The location-based services 408 and 410 can alternatively run on the mobile device 402.

The mobile device 402 can, for example, connect to additional devices or services (not shown) for location-based services, instead of, or in addition to the access point 404 and the cell tower 406. Such devices or services could include a Bluetooth™ device, GPS, radio or TV towers, or cellular grids, to name a few examples. For example, the mobile device 402 can connect to peer devices with the Bluetooth™ communication device 188 (FIG. 1) and receive location-based information from other mobile devices and/or Bluetooth™ enabled devices. In some implementations, the mobile device 402 can determine or estimate its position and/or geographic area using other technologies (e.g., GPS). In some implementations, the geographic area determined or estimated using any of these other technologies can be used (e.g., displayed) in lieu of the geographic area estimated using location-based services 408 or 410 (e.g., Wi-Fi or cellular positioning techniques) if the geographic area determined or estimated using the other technologies is contained entirely within the geographic area estimated using location-based services 408 or 410 and if the other technologies are more accurate or precise according to the priority table stored in the mobile device 402.

Location Sharing

FIG. 5 illustrates an example map display 500 showing the location of the mobile device 100. In the example, shown the location of the mobile device 100 is represented by a graphical placemark 502 (e.g., a dot or pushpin) within a geographic area defined by the circle 503. If accurate positioning technology is available (e.g., GPS) the circle 503 can be omitted from the map display 500. In some implementations, the user can touch the placemark 502 and a graphical object 504 (e.g., balloon, bubble, window, pane) appears showing the address or other information for the location represented by the placemark 502. If the user touches a chevron 506 a new page 600 is displayed, as shown in FIG. 6.

FIG. 6 illustrates an example user interface for sharing the location of the mobile device 100 with other devices. In the example shown, the page 600 includes a thumbnail image 602 of the geographic location of the mobile device 100. The thumbnail image 602 can be created from the map display 500 by “screen grabbing” a portion of the map display 500 around the placemark 502. The thumbnail image 602 can have a lower resolution than the map display 500. The page 600 can include various options, including without limitation: adding a location to a bookmark list, finding directions from a current location to a desired destination, removing pins and sharing a location with other users.

In some implementations, a location sharing option 604 is presented on the mobile device 100 which includes one or more applications that are available for sending geographic location data to other devices (e.g., other mobile devices or desktop computers). In this example, there is a button 608 for email and a button 606 for SMS messaging. Other applications can also be used such as Enhanced Messaging Service (EMS) and Multimedia Messaging Service (MMS). The geographic location data can be for the current location of the sending device or for any other geographic location (e.g., a location of a destination, landmark, business, mutual contact).

If the button 608 is touched, then an email user interface can be presented to the user with a geographic location data file automatically attached to the email message. The user can compose a text message for the email and send the email to another device. At the receiving device, the attached file can be detected and used to trigger a map display showing the sender's location and, optionally, the geographic location of the receiving device.

If the button 606 is touched, then an SMS user interface can be presented to the user. As described further in reference to FIG. 7A, the geographic location data can be provided with the SMS message. The SMS message can be coded or formatted at the sending device to enable the receiving device to detect the presence of the geographic location data with the message. Upon such detection, one or actions can be performed.

Initiating Location Sharing Using Messages

FIG. 7A illustrates an example user interface for instant messaging or SMS/text messaging used by a sending device. The user interface includes a chat area 700, a message composing box 706, and a virtual keyboard 702. In this example, when the user touches the button 606 (FIG. 6), the user interface shown in FIG. 7A is presented. A graphical object 704 is shown in the chat area 700 with an icon 706 to indicate that the message will be sent with geographic location data to the receiving device. The icon 706 can be a thumbnail image similar to the thumbnail image 602 shown in FIG. 6. The user can compose a message using the composing box 706 and can initiate sending the message by touching the send button 708. In the example shown, the user (“Greg”) is sending his current location to a friend named “Mike” who he is currently engaged in a chat session with Greg. Greg types “Greg's location” in the composing box 706 and touches the send button 708 to send the message with the geographic location data associated with the current location of Greg's mobile device 710.

FIG. 7B illustrates an example user interface for instant messaging or SMS/text messaging used by a receiving device. Continuing with the example of FIG. 7A, the message sent by Greg is received at Mike's mobile device 710. The message is received in a balloon 714 in a chat area 709. When Mike touches the icon 716, a map display 802 is presented on the mobile device 710 as shown in FIG. 8.

FIG. 8 illustrates an example map display 802 showing locations for the sending device 100 and the receiving device 710. The geographic location of the mobile device 100 (Greg's mobile device) can be represented on the map display 802 by a placemark 804. When Mike touches the placemark 804 a graphical object 808 is displayed on the map display 802 with geographic location data (e.g., address) or other related information (e.g., phone number, email, vcard, link). Optionally, the location of the mobile device 710 is represented on the map display 802 by a placemark 806. Touching the chevrons 810 or 812 results in pages being displayed that are similar to page 600 shown in FIG. 6, but specific to the locations represented by the placemarks 804 and 806, respectively.

Example Location Sharing Process (Sending Device)

FIG. 9 is a flow diagram of an example process 900 for sharing geographic location data which can be implemented by a sending device (e.g., mobile device 100). In some implementations, the process 900 begins by determining a location of a first device (902). The location can be determined using one or more positioning technologies (e.g., GPS, cell tower, triangulations, Wi-Fi). A graphical representation of the location is presented on a map display of the first device with an option to share the location (904). For example, a placemark (e.g., a dot, circle, pushpin) can be presented on the map display. In FIG. 5, the user can touch a chevron 506 to display a user interface that provides an option to share location information.

Input is received specifying an option to share location information associated with the first mobile device (906). An example user interface is the page 600 shown in FIG. 6. The user can select from one or more applications to share location data (908). Some examples of applications are email and instant messaging. For email or instant messaging applications, a message composed by the user can be received (910).

With some applications, such as SMS messaging applications, the amount of data that can be sent with a text message is limited. The location information (e.g., address or position coordinates) can be included in a URL that is sent to the receiving device. To reduce the size of the URL, a short identifier or alias can be created for the URL (e.g., using hashing techniques) and sent to the second device in place of the longer URL. When the recipient user touches or clicks on the alias, the receiving device redirects the short identifier or alias to the longer URL containing the geographic location data. In some implementations, the geographic location data can be sent as a file to the receiving device where it can be opened and read. In some implementations, the indicator or alias redirects the receiving device to a network-based resource (e.g., a map service server) for receiving the geographic location data and any other related information.

In some implementations, the text message string can be optionally modified (e.g., coded or formatted) to signal the presence of geographic location data associated with the message (912). The modifying can be detected by the receiving device and used by the receiving device to initiate one or more actions on the receiving device, as described in reference to FIG. 10. Some example formatting techniques can include adding one or more spaces or symbols to a text string, changing the style, size or font of the text string (e.g., bold, italic). For example, a message sent from “1 Infinite Loop, Cupertino, Calif.” may be formatted as follows: “_(——)1 Infinite Loop, Cupertino, Calif.” In this example, two spaces “_(——)” were added to the beginning of the text string. These spaces can be detected by the receiving device and used to inform the receiving device that the text message is an address. The receiving device can invoke a map service client to display the location “1 Infinite Loop, Cupertino, Calif.” on a map display of the receiving device. While any suitable coding or formatting technique can be used, it may be desirable to select a code or format that is human readable and has a low probability of being part of text composed by the user or otherwise makes the text difficult to read. In some implementations where the device is a mobile phone, a GSM7 alphabet or similarly known alphabet can be used to indicate the presence of geographic location data with a message.

The location data (e.g., the URL) and optionally modified text message is sent to the receiving device using the selected location sharing application (914). In some implementations, the sending device can broadcast geographic location data to multiple devices. The user can set a schedule for the broadcast. For example, the user can set the device to broadcast geographic location data at a desired frequency and duration (e.g., every hour for a week).

In some implementations, a user can activate a mode on the mobile device for continuous location sharing. For example, a first user can continually track the location of a second user who has agreed to share their location with the first user. This can be a useful feature for two users who are trying to find each other at a crowded public venue or in a city, etc.

In some implementations, a first user can ask a second user for their location in several ways. As described above, a mode can be activated where a user's/mobile device location is continually shared to allow tracking. A location can be requested using text messaging. Mobile devices of recipient users can detect the messages and automatically present a user interface for requesting location sharing. A dedicated location sharing user interface can be presented on the mobile device. The dedicated user interface could be displayed in a maps application, for example.

Example Location Sharing Process (Receiving Device)

FIG. 10 is a flow diagram of an example process 1000 for sharing location data which can be implemented by a receiving device (e.g., the receiving device 710). In some implementations, the process 1000 begins by receiving geographic location data from the first device and an optionally coded/formatted text message (1002). The text message is decoded or detected and used to generate a trigger event (1004). For example, the text string can be parsed and searched for a pattern, such as added spaces at the beginning of a text string, as described in the previous example. Input is optionally received by the recipient specifying acceptance of the geographic location data (1006). For example, a user interface can be presented asking the user whether they wish to accept the data. The trigger event or user input can initiate one or more actions, such as automatically generating a map display showing the location of the first device and, optionally, the location of the second device (1008). A route from the first device to the second device can be generated by a map service and displayed on the map display of the first and/or second device.

Sharing Contact Information

In some implementations, in addition to location information, contacts can be shared as an email (e.g., as a vcard) or as an SMS message. For contact sharing between mobile devices, an SMS message may be restricted to text of a GSM character set. One issue with receiving a contact as a text message is how to format the information in the contact. In some implementations, the SMS message can use space encoding (or encoding using non-visible characters) to delineate data fields in the contact information. Upon receipt, the encoded SMS message is decoded, and the contact information is added to appropriate fields of a new contact in an address book application, for example. Additionally, formatting information can be stripped from a v-card or contact prior to sending the v-card or contact information over SMS.

The features described can be implemented in digital electronic circuitry, or in computer hardware, firmware, software, or in combinations of them. The features can be implemented in a computer program product tangibly embodied in an information carrier, e.g., in a machine-readable storage device or in a propagated signal, for execution by a programmable processor; and method steps can be performed by a programmable processor executing a program of instructions to perform functions of the described implementations by operating on input data and generating output.

The described features can be implemented advantageously in one or more computer programs that are executable on a programmable system including at least one programmable processor coupled to receive data and instructions from, and to transmit data and instructions to, a data storage system, at least one input device, and at least one output device. A computer program is a set of instructions that can be used, directly or indirectly, in a computer to perform a certain activity or bring about a certain result. A computer program can be written in any form of programming language (e.g., Objective-C, Java), including compiled or interpreted languages, and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.

Suitable processors for the execution of a program of instructions include, by way of example, both general and special purpose microprocessors, and the sole processor or one of multiple processors or cores, of any kind of computer. Generally, a processor will receive instructions and data from a read-only memory or a random access memory or both. The essential elements of a computer are a processor for executing instructions and one or more memories for storing instructions and data. Generally, a computer will also include, or be operatively coupled to communicate with, one or more mass storage devices for storing data files; such devices include magnetic disks, such as internal hard disks and removable disks; magneto-optical disks; and optical disks. Storage devices suitable for tangibly embodying computer program instructions and data include all forms of non-volatile memory, including by way of example semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices; magnetic disks such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, ASICs (application-specific integrated circuits).

To provide for interaction with a user, the features can be implemented on a computer having a display device such as a CRT (cathode ray tube) or LCD (liquid crystal display) monitor for displaying information to the user and a keyboard and a pointing device such as a mouse or a trackball by which the user can provide input to the computer.

The features can be implemented in a computer system that includes a back-end component, such as a data server, or that includes a middleware component, such as an application server or an Internet server, or that includes a front-end component, such as a client computer having a graphical user interface or an Internet browser, or any combination of them. The components of the system can be connected by any form or medium of digital data communication such as a communication network. Examples of communication networks include, e.g., a LAN, a WAN, and the computers and networks forming the Internet.

The computer system can include clients and servers. A client and server are generally remote from each other and typically interact through a network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.

A number of implementations have been described. Nevertheless, it will be understood that various modifications may be made. For example, elements of one or more implementations may be combined, deleted, modified, or supplemented to form further implementations. As yet another example, the logic flows depicted in the figures do not require the particular order shown, or sequential order, to achieve desirable results. In addition, other steps may be provided, or steps may be eliminated, from the described flows, and other components may be added to, or removed from, the described systems. Accordingly, other implementations are within the scope of the following claims. 

What is claimed is:
 1. A method comprising: receiving, by a second device, a text message from a first device; processing, by the second device, the text message to determine the text message includes at least a text string, the text string including: (a) a first geographic location data associated with the first device, and (b) a second geographic location data associated with the first device in the form of a first reduced size uniform resource locator (URL), the first reduced size URL reducing a size of the second geographic location data, wherein the second geographic location data is contained in a longer URL, and wherein the first reduced size URL is based on a hash of the longer URL; presenting, by an application executing on the second device, at least part of the text string and the first reduced size URL; obtaining, by the application, a first input to the first reduced size URL; accessing, by a map service on the second device, a map service server based on the second geographic location data contained in the longer URL; and presenting, by the second device in response to the obtained first input, a map display with a first location marker based on the second geographic location data.
 2. The method of claim 1, further comprising: obtaining input to the first location marker; and presenting a graphical object displaying location information associated with the geographic location of the first device.
 3. The method of claim 2, further comprising: receiving a selection of the graphical object; presenting a user interface for specifying two or more mechanisms for sharing a geographic location of the first device, in response to the selection of the graphical object; obtaining input to the user interface specifying a text message for sharing, with a third device, a third geographic location data for the geographic location of the first device; and sending the third geographic location data with the text message to the third device, wherein the text message is modified to signal presence of the third geographic location data associated with the text message.
 4. The method of claim 1, wherein presenting, in response to the first obtained input, the map display further comprises: presenting the map display with a current geographic location of the second device identified with a second location marker.
 5. The method of claim 1, wherein the text message comprises one of a short messaging service (SMS) message, an enhanced messaging service (EMS) message, or a multimedia messaging service (MMS) message.
 6. The method of claim 1, wherein the map display further includes a current geographic location of the second device identified with a second location marker, and further comprising: obtaining a second input to the second location marker; and presenting a text messaging interface, based on the second input, the text messaging interface having a message, the message having a textual string indicating the message includes the current geographic location of the second device, wherein a current geographic location data of the second device is included in a second reduced size URL.
 7. The method of claim 4, further comprising: obtaining, at the second device, a second input to the second location marker; and presenting, at the second device, a text messaging interface, based on the second input, the text messaging interface having a message, the message having a textual string indicating the message includes the current geographic location of the second device, wherein a current geographic location data of the second device is included in a second reduced size URL.
 8. A system comprising: a processor; and a memory coupled to the processor and storing instructions which, when executed by the processor, cause the processor to perform operations comprising: receiving, by a second device, a text message from a first device; processing, by the second device, the text message to determine the text message includes at least a text string, the text string indicating that the text message includes geographic location data of the first device, wherein the geographic location data of the first device is included in a reduced size uniform resource locator (URL), the reduced size URL reducing a size of the geographic location data; presenting, by an application executing on the second device, at least part of the text string and the reduced size URL; obtaining, by the application, an input to the reduced size URL; presenting, by the second device in response to the obtained input, a map display with a first location marker based on the geographic location data, wherein the map display further includes a current geographic location of the second device identified with a second location marker; obtaining, at the second device, a second input to the second location marker; and presenting, at the second device, a text messaging interface, based on the second input, the text messaging interface having a message, the message having a textual string indicating the message includes the current geographic location of the second device, wherein a current geographic location data of the second device is included in a second reduced size URL.
 9. The system of claim 8, wherein the instructions further cause the processor to perform operations comprising: obtaining input to the first location marker; and presenting a graphical object displaying location information associated with the geographic location of the first device.
 10. The system of claim 8, wherein the instructions further cause the processor to perform operations comprising: receiving a selection of the first location marker; presenting a user interface for specifying two or more mechanisms for sharing a geographic location of the first device, in response to the selection of the graphical object; obtaining input to the user interface specifying a text message for sharing, with a third device, a third geographic location data for the geographic location of the first device; and sending the third geographic location data with the text message to the third device, wherein the text message is modified to signal the presence of the third geographic location data associated with the text message.
 11. The system of claim 8, wherein the text message comprises one of a short messaging service (SMS) message, an enhanced messaging service (EMS) message, or a multimedia messaging service (MMS) message.
 12. The system of claim 8, wherein the geographic location data is contained in a longer URL and wherein the reduced size URL is based on a hash of the longer URL, and wherein the instructions further cause the processor to perform operations comprising: accessing, by a map service, a map service server based on the geographic location data contained in the longer URL.
 13. A non-transitory computer-readable medium having instructions stored thereon, which, when executed by a processor, cause the processor to perform operations comprising: receiving, by a second device, a text message from a first device; processing, by the second device, the text message to determine the text message includes at least a text string, the text string including: (a) a first geographic location data associated with the first device and (b) a second geographic location data associated with the first device in the form of a first reduced size uniform resource locator (URL), the first reduced size URL reducing a size of the second geographic location data, wherein the second geographic location data is contained in a longer URL, and wherein the first reduced size URL is based on a hash of the longer URL; presenting, by an application executing on the second device, at least part of the text string and the first reduced size URL; obtaining, by the application, a first input to the first reduced size URL accessing, by a map service, a map service server based on the second geographic location data contained in the longer URL; and presenting, by the second device in response to the obtained input, a map display with a first location marker based on the second geographic location data.
 14. The non-transitory computer-readable medium of claim 13, further comprising instructions to cause the processor to perform operations comprising: obtaining input to the first location marker; and presenting a graphical object displaying location information associated with the geographic location of the first device.
 15. The non-transitory computer-readable medium of claim 14, further comprising instructions to cause the processor to perform operations comprising: receiving a selection of the graphical object; presenting a user interface for specifying two or more mechanisms for sharing a geographic location of the first device, in response to the selection of the graphical object; obtaining input to the user interface specifying a text message for sharing, with a third device, a third geographic location data for the geographic location of the first device; and sending the third geographic location data with the text message to the third device, wherein the text message is modified to signal presence of the third geographic location data associated with the text message.
 16. The non-transitory computer-readable medium of claim 13, wherein presenting, in response to the obtained first input, the map display further comprises: presenting the map display with a current geographic location of the second device identified with a second location marker.
 17. The non-transitory computer-readable medium of claim 13, wherein the text message comprises one of a short messaging service (SMS) message, an enhanced messaging service (EMS) message, or a multimedia messaging service (MMS) message.
 18. The non-transitory computer-readable medium of claim 13, wherein the map display further includes a current geographic location of the second device identified with a second location marker and wherein the instructions further comprises instructions, which cause the processor to perform operations comprising: obtaining a second input to the second location marker; and presenting a text messaging interface, based on the second input, the text messaging interface having a message, the message having a textual string indicating the message includes the current geographic location of the second device, wherein a current geographic location data of the second device is included in a second reduced size URL. 